import { IForm } from '@/base-ui/form/types'

export const searchFormConfig: IForm = {
  labelWidth: '100px',
  itemStyle: {
    padding: '10px 40px'
  },
  formItems: [
    {
      field: 'id',
      label: 'ID',
      type: 'input',
      placeholder: '请填写ID'
    },
    {
      field: 'leader',
      label: '上级领导',
      type: 'input',
      placeholder: '请填写上级领导'
    },
    {
      field: 'name',
      label: '部门',
      type: 'input',
      placeholder: '请填写部门'
    },
    {
      field: 'createTime',
      type: 'datepicker',
      label: '创建时间',
      otherOptions: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    }
  ]
}
